﻿namespace Furiant.Figment.Agents.Inventory
{
    public interface IHasInventory : IAgent
    {
        IInventory Inventory { get; }

        /// <summary>
        /// Sets the Inventory property to the specified T value. It is the responsibility of the calling object
        /// to update its Owner property.
        /// </summary>
        /// <param name="value">The value to set.</param>
        void SetInventory<T>(T value) where T : IInventory;
    }
}
